package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.admin.mapper.AdUserMapper;
import com.heima.model.admin.dtos.AdUserDto;
import com.heima.model.admin.pojos.AdUser;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @author liuyaning
 * @version 1.0
 * @date 2021/7/30 15:35
 */
public interface AdUserService extends IService<AdUser> {

    /**
     * 用户登陆
     * @param adUserDto
     * @return
     */
    ResponseResult in(AdUserDto adUserDto);

    /**
     * 注册用户
     * @param adUser
     * @return
     */
    ResponseResult register(AdUser adUser);
}
